<a href="./system/action/logout.php" class="mainMenuLink">
	<div class="menuIcon"><img src="./public/images/logout.png"/></div>
	<div class="menuText">Logout</div>
</a>
<a href="./system/pageselector.php?page=viewStock" <?php if(isset($_SESSION['page']) && ($_SESSION['page'] == 'viewStock.php' || $_SESSION['page'] == 'viewProfit.php')) echo "class='mainMenuLink currentMainMenu'"; else echo "class='mainMenuLink'"; ?>>
	<div class="menuIcon"><img src="./public/images/menu/report.png"/></div>
	<div class="menuText">Reports</div>
</a>
<a href="./system/pageselector.php?page=addBatches" <?php if(isset($_SESSION['page']) && ($_SESSION['page'] == 'addBatches.php'|| $_SESSION['page'] == 'addStock.php' || $_SESSION['page'] == 'addItems.php' || $_SESSION['page'] == 'addUnits.php')) echo "class='mainMenuLink currentMainMenu'"; else echo "class='mainMenuLink'"; ?>>
	<div class="menuIcon"><img src="./public/images/menu/stock.png"/></div>
	<div class="menuText">Stock</div>
</a>
<a href="./system/pageselector.php?page=addUsers" <?php if(isset($_SESSION['page']) && ($_SESSION['page'] == 'addUsers.php'||$_SESSION['page'] == 'editUsers.php' ||$_SESSION['page'] == 'profile.php')) echo "class='mainMenuLink currentMainMenu'"; else echo "class='mainMenuLink'"; ?>>
	<div class="menuIcon"><img src="./public/images/menu/admin1.png"/></div>
	<div class="menuText">Admin</div>
</a>
<a href="./system/pageselector.php?page=home" <?php if(isset($_SESSION['page']) && $_SESSION['page'] == 'home.php') echo "class='mainMenuLink currentMainMenu'"; else echo "class='mainMenuLink'"; ?>>
	<div class="menuIcon"><img src="./public/images/menu/home.png"/></div>
	<div class="menuText">Home</div>
</a>